package com.itheima.controller.v1.api;


import com.itheima.common.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@Api("excel模板上传下载")
public interface EasyExcelContrllerApi {

    @ApiOperation("下载模板文件")
    public void easyExcelDownload (HttpServletResponse response) throws IOException;

    @ApiOperation("上传数据文件")
    public R easyExcelUpload(MultipartFile file) throws IOException;
}
